package tech.lingrui.mnpanonymousservice.service;

import tech.lingrui.mnpanonymousservice.model.bean.Round;

import java.io.IOException;

public interface RoundService {

    /**
     *开始第一回合
     * */
    void startFirstRound() throws InterruptedException;

   /**
    * 进行下一回合
    * */
    void goNextRound(Round preRound) throws IOException;


   /**
    * 所有回合结束
    * */
    void finishRounds() throws IOException;


    /**
     *
     * 处理答案
     * */
    void handleAnswer(int answer);


}
